<?php
/**
* @version		$Id: view.html.php 10496 2008-07-03 07:08:39Z ircmaxell $
* @package		Joomla
* @subpackage	Users
* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the Users component
 *
 * @static
 * @package		Joomla
 * @subpackage	Users
 * @since 1.0
 */
class BanwordsViewCheckbanword extends JView
{
	function display($tpl = null)
	{
//		$cid		= JRequest::getVar( 'cid', array(0), '', 'array' );
//		$edit		= JRequest::getVar('edit',true);
//		$me 		= JFactory::getUser();//获取当前用户
//		JArrayHelper::toInteger($cid, array(0));
//
//		$db 		=& JFactory::getDBO('shaishaidb');
//        
//		if($edit)
//		{
//			$query = 'SELECT * FROM banwords AS a where a.id = '.$cid[0];
//			$db->setQuery( $query );
//			$banword = $db->loadObjectList();
//		}
//
//		$this->assignRef('me', 		$me);
//		$this->assignRef('banword', $banword[0]);


		parent::display($tpl);
	}
}
